package edu.scau.mis.pos.entity;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 订单表(PosOrder)实体类
 *
 * @author makejava
 * @since 2021-11-08 21:22:02
 */
public class PosOrder implements Serializable {
    private static final long serialVersionUID = 869188588675020125L;
    /**
    * 订单ID
    */
    private Integer orderId;
    /**
    * 订单编号
    */
    private String orderNo;
    /**
    * 销售时间
    */
    private String saleDatetime;
    /**
    * 总金额
    */
    private Double totalamount;
    /**
    * 总件数
    */
    private Integer totalquantity;

    /**
     * 订单明细的订单集合
     */
    private List<PosItem> itemList;

    public List<PosItem> getItemList() {
        return itemList;
    }

    public void setItemList(List<PosItem> itemList) {
        this.itemList = itemList;
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getSaleDatetime() {
        return saleDatetime;
    }

    public void setSaleDatetime(String saleDatetime) {
        this.saleDatetime = saleDatetime;
    }

    public Double getTotalamount() {
        return totalamount;
    }

    public void setTotalamount(Double totalamount) {
        this.totalamount = totalamount;
    }

    public Integer getTotalquantity() {
        return totalquantity;
    }

    public void setTotalquantity(Integer totalquantity) {
        this.totalquantity = totalquantity;
    }

}
